Integrand size = 26, antiderivative size = 207 \[ \int (b d+2 c d x)^2 \left (a+b x+c x^2\right )^{5/2} \, dx=-\frac {5 \left (b^2-4 a c\right )^3 d^2 (b+2 c x) \sqrt {a+b x+c x^2}}{4096 c^3}+\frac {5 \left (b^2-4 a c\right )^2 d^2 (b+2 c x)^3 \sqrt {a+b x+c x^2}}{2048 c^3}-\frac {5 \left (b^2-4 a c\right ) d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{3/2}}{384 c^2}+\frac {d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{5/2}}{16 c}-\frac {5 \left (b^2-4 a c\right )^4 d^2 \text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{8192 c^{7/2}} \]
[Out]
Time = 0.09 (sec) , antiderivative size = 207, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {699, 706, 635, 212} \[ \int (b d+2 c d x)^2 \left (a+b x+c x^2\right )^{5/2} \, dx=-\frac {5 d^2 \left (b^2-4 a c\right )^4 \text {arctanh}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{8192 c^{7/2}}-\frac {5 d^2 \left (b^2-4 a c\right )^3 (b+2 c x) \sqrt {a+b x+c x^2}}{4096 c^3}+\frac {5 d^2 \left (b^2-4 a c\right )^2 (b+2 c x)^3 \sqrt {a+b x+c x^2}}{2048 c^3}-\frac {5 d^2 \left (b^2-4 a c\right ) (b+2 c x)^3 \left (a+b x+c x^2\right )^{3/2}}{384 c^2}+\frac {d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{5/2}}{16 c} \]
[In]
[Out]
Rule 212
Rule 635
Rule 699
Rule 706
Rubi steps \begin{align*} \text {integral}& = \frac {d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{5/2}}{16 c}-\frac {\left (5 \left (b^2-4 a c\right )\right ) \int (b d+2 c d x)^2 \left (a+b x+c x^2\right )^{3/2} \, dx}{32 c} \\ & = -\frac {5 \left (b^2-4 a c\right ) d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{3/2}}{384 c^2}+\frac {d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{5/2}}{16 c}+\frac {\left (5 \left (b^2-4 a c\right )^2\right ) \int (b d+2 c d x)^2 \sqrt {a+b x+c x^2} \, dx}{256 c^2} \\ & = \frac {5 \left (b^2-4 a c\right )^2 d^2 (b+2 c x)^3 \sqrt {a+b x+c x^2}}{2048 c^3}-\frac {5 \left (b^2-4 a c\right ) d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{3/2}}{384 c^2}+\frac {d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{5/2}}{16 c}-\frac {\left (5 \left (b^2-4 a c\right )^3\right ) \int \frac {(b d+2 c d x)^2}{\sqrt {a+b x+c x^2}} \, dx}{4096 c^3} \\ & = -\frac {5 \left (b^2-4 a c\right )^3 d^2 (b+2 c x) \sqrt {a+b x+c x^2}}{4096 c^3}+\frac {5 \left (b^2-4 a c\right )^2 d^2 (b+2 c x)^3 \sqrt {a+b x+c x^2}}{2048 c^3}-\frac {5 \left (b^2-4 a c\right ) d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{3/2}}{384 c^2}+\frac {d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{5/2}}{16 c}-\frac {\left (5 \left (b^2-4 a c\right )^4 d^2\right ) \int \frac {1}{\sqrt {a+b x+c x^2}} \, dx}{8192 c^3} \\ & = -\frac {5 \left (b^2-4 a c\right )^3 d^2 (b+2 c x) \sqrt {a+b x+c x^2}}{4096 c^3}+\frac {5 \left (b^2-4 a c\right )^2 d^2 (b+2 c x)^3 \sqrt {a+b x+c x^2}}{2048 c^3}-\frac {5 \left (b^2-4 a c\right ) d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{3/2}}{384 c^2}+\frac {d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{5/2}}{16 c}-\frac {\left (5 \left (b^2-4 a c\right )^4 d^2\right ) \text {Subst}\left (\int \frac {1}{4 c-x^2} \, dx,x,\frac {b+2 c x}{\sqrt {a+b x+c x^2}}\right )}{4096 c^3} \\ & = -\frac {5 \left (b^2-4 a c\right )^3 d^2 (b+2 c x) \sqrt {a+b x+c x^2}}{4096 c^3}+\frac {5 \left (b^2-4 a c\right )^2 d^2 (b+2 c x)^3 \sqrt {a+b x+c x^2}}{2048 c^3}-\frac {5 \left (b^2-4 a c\right ) d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{3/2}}{384 c^2}+\frac {d^2 (b+2 c x)^3 \left (a+b x+c x^2\right )^{5/2}}{16 c}-\frac {5 \left (b^2-4 a c\right )^4 d^2 \tanh ^{-1}\left (\frac {b+2 c x}{2 \sqrt {c} \sqrt {a+b x+c x^2}}\right )}{8192 c^{7/2}} \\ \end{align*}
Time = 2.15 (sec) , antiderivative size = 223, normalized size of antiderivative = 1.08 \[ \int (b d+2 c d x)^2 \left (a+b x+c x^2\right )^{5/2} \, dx=\frac {d^2 \left (\sqrt {c} (b+2 c x) \sqrt {a+x (b+c x)} \left (15 b^6-40 b^5 c x+44 b^4 c \left (-5 a+2 c x^2\right )+64 b^3 c^2 x \left (9 a+52 c x^2\right )+128 b c^3 x \left (59 a^2+136 a c x^2+72 c^2 x^4\right )+16 b^2 c^2 \left (73 a^2+580 a c x^2+584 c^2 x^4\right )+64 c^3 \left (15 a^3+118 a^2 c x^2+136 a c^2 x^4+48 c^3 x^6\right )\right )-15 \left (b^2-4 a c\right )^4 \text {arctanh}\left (\frac {\sqrt {c} x}{-\sqrt {a}+\sqrt {a+x (b+c x)}}\right )\right )}{12288 c^{7/2}} \]
[In]
[Out]
Time = 2.70 (sec) , antiderivative size = 294, normalized size of antiderivative = 1.42
method | result | size |
risch | \(\frac {\left (6144 c^{7} x^{7}+21504 b \,c^{6} x^{6}+17408 a \,c^{6} x^{5}+27904 b^{2} c^{5} x^{5}+43520 a b \,c^{5} x^{4}+16000 b^{3} c^{4} x^{4}+15104 a^{2} c^{5} x^{3}+35968 a \,b^{2} c^{4} x^{3}+3504 b^{4} c^{3} x^{3}+22656 a^{2} b \,c^{4} x^{2}+10432 a \,b^{3} c^{3} x^{2}+8 b^{5} c^{2} x^{2}+1920 a^{3} c^{4} x +9888 a^{2} b^{2} c^{3} x +136 c^{2} a \,b^{4} x -10 b^{6} c x +960 a^{3} c^{3} b +1168 a^{2} c^{2} b^{3}-220 a \,b^{5} c +15 b^{7}\right ) \sqrt {c \,x^{2}+b x +a}\, d^{2}}{12288 c^{3}}-\frac {5 \left (256 a^{4} c^{4}-256 a^{3} b^{2} c^{3}+96 a^{2} b^{4} c^{2}-16 a \,b^{6} c +b^{8}\right ) \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right ) d^{2}}{8192 c^{\frac {7}{2}}}\) | \(294\) |
default | \(d^{2} \left (b^{2} \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}}}{12 c}+\frac {5 \left (4 a c -b^{2}\right ) \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}}}{8 c}+\frac {3 \left (4 a c -b^{2}\right ) \left (\frac {\left (2 c x +b \right ) \sqrt {c \,x^{2}+b x +a}}{4 c}+\frac {\left (4 a c -b^{2}\right ) \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )}{8 c^{\frac {3}{2}}}\right )}{16 c}\right )}{24 c}\right )+4 c^{2} \left (\frac {x \left (c \,x^{2}+b x +a \right )^{\frac {7}{2}}}{8 c}-\frac {9 b \left (\frac {\left (c \,x^{2}+b x +a \right )^{\frac {7}{2}}}{7 c}-\frac {b \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}}}{12 c}+\frac {5 \left (4 a c -b^{2}\right ) \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}}}{8 c}+\frac {3 \left (4 a c -b^{2}\right ) \left (\frac {\left (2 c x +b \right ) \sqrt {c \,x^{2}+b x +a}}{4 c}+\frac {\left (4 a c -b^{2}\right ) \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )}{8 c^{\frac {3}{2}}}\right )}{16 c}\right )}{24 c}\right )}{2 c}\right )}{16 c}-\frac {a \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}}}{12 c}+\frac {5 \left (4 a c -b^{2}\right ) \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}}}{8 c}+\frac {3 \left (4 a c -b^{2}\right ) \left (\frac {\left (2 c x +b \right ) \sqrt {c \,x^{2}+b x +a}}{4 c}+\frac {\left (4 a c -b^{2}\right ) \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )}{8 c^{\frac {3}{2}}}\right )}{16 c}\right )}{24 c}\right )}{8 c}\right )+4 b c \left (\frac {\left (c \,x^{2}+b x +a \right )^{\frac {7}{2}}}{7 c}-\frac {b \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x +a \right )^{\frac {5}{2}}}{12 c}+\frac {5 \left (4 a c -b^{2}\right ) \left (\frac {\left (2 c x +b \right ) \left (c \,x^{2}+b x +a \right )^{\frac {3}{2}}}{8 c}+\frac {3 \left (4 a c -b^{2}\right ) \left (\frac {\left (2 c x +b \right ) \sqrt {c \,x^{2}+b x +a}}{4 c}+\frac {\left (4 a c -b^{2}\right ) \ln \left (\frac {\frac {b}{2}+c x}{\sqrt {c}}+\sqrt {c \,x^{2}+b x +a}\right )}{8 c^{\frac {3}{2}}}\right )}{16 c}\right )}{24 c}\right )}{2 c}\right )\right )\) | \(666\) |
[In]
[Out]
none
Time = 0.43 (sec) , antiderivative size = 675, normalized size of antiderivative = 3.26 \[ \int (b d+2 c d x)^2 \left (a+b x+c x^2\right )^{5/2} \, dx=\left [\frac {15 \, {\left (b^{8} - 16 \, a b^{6} c + 96 \, a^{2} b^{4} c^{2} - 256 \, a^{3} b^{2} c^{3} + 256 \, a^{4} c^{4}\right )} \sqrt {c} d^{2} \log \left (-8 \, c^{2} x^{2} - 8 \, b c x - b^{2} + 4 \, \sqrt {c x^{2} + b x + a} {\left (2 \, c x + b\right )} \sqrt {c} - 4 \, a c\right ) + 4 \, {\left (6144 \, c^{8} d^{2} x^{7} + 21504 \, b c^{7} d^{2} x^{6} + 256 \, {\left (109 \, b^{2} c^{6} + 68 \, a c^{7}\right )} d^{2} x^{5} + 640 \, {\left (25 \, b^{3} c^{5} + 68 \, a b c^{6}\right )} d^{2} x^{4} + 16 \, {\left (219 \, b^{4} c^{4} + 2248 \, a b^{2} c^{5} + 944 \, a^{2} c^{6}\right )} d^{2} x^{3} + 8 \, {\left (b^{5} c^{3} + 1304 \, a b^{3} c^{4} + 2832 \, a^{2} b c^{5}\right )} d^{2} x^{2} - 2 \, {\left (5 \, b^{6} c^{2} - 68 \, a b^{4} c^{3} - 4944 \, a^{2} b^{2} c^{4} - 960 \, a^{3} c^{5}\right )} d^{2} x + {\left (15 \, b^{7} c - 220 \, a b^{5} c^{2} + 1168 \, a^{2} b^{3} c^{3} + 960 \, a^{3} b c^{4}\right )} d^{2}\right )} \sqrt {c x^{2} + b x + a}}{49152 \, c^{4}}, \frac {15 \, {\left (b^{8} - 16 \, a b^{6} c + 96 \, a^{2} b^{4} c^{2} - 256 \, a^{3} b^{2} c^{3} + 256 \, a^{4} c^{4}\right )} \sqrt {-c} d^{2} \arctan \left (\frac {\sqrt {c x^{2} + b x + a} {\left (2 \, c x + b\right )} \sqrt {-c}}{2 \, {\left (c^{2} x^{2} + b c x + a c\right )}}\right ) + 2 \, {\left (6144 \, c^{8} d^{2} x^{7} + 21504 \, b c^{7} d^{2} x^{6} + 256 \, {\left (109 \, b^{2} c^{6} + 68 \, a c^{7}\right )} d^{2} x^{5} + 640 \, {\left (25 \, b^{3} c^{5} + 68 \, a b c^{6}\right )} d^{2} x^{4} + 16 \, {\left (219 \, b^{4} c^{4} + 2248 \, a b^{2} c^{5} + 944 \, a^{2} c^{6}\right )} d^{2} x^{3} + 8 \, {\left (b^{5} c^{3} + 1304 \, a b^{3} c^{4} + 2832 \, a^{2} b c^{5}\right )} d^{2} x^{2} - 2 \, {\left (5 \, b^{6} c^{2} - 68 \, a b^{4} c^{3} - 4944 \, a^{2} b^{2} c^{4} - 960 \, a^{3} c^{5}\right )} d^{2} x + {\left (15 \, b^{7} c - 220 \, a b^{5} c^{2} + 1168 \, a^{2} b^{3} c^{3} + 960 \, a^{3} b c^{4}\right )} d^{2}\right )} \sqrt {c x^{2} + b x + a}}{24576 \, c^{4}}\right ] \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 2958 vs. \(2 (202) = 404\).
Time = 0.81 (sec) , antiderivative size = 2958, normalized size of antiderivative = 14.29 \[ \int (b d+2 c d x)^2 \left (a+b x+c x^2\right )^{5/2} \, dx=\text {Too large to display} \]
[In]
[Out]
Exception generated. \[ \int (b d+2 c d x)^2 \left (a+b x+c x^2\right )^{5/2} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 387 vs. \(2 (181) = 362\).
Time = 0.29 (sec) , antiderivative size = 387, normalized size of antiderivative = 1.87 \[ \int (b d+2 c d x)^2 \left (a+b x+c x^2\right )^{5/2} \, dx=\frac {1}{12288} \, \sqrt {c x^{2} + b x + a} {\left (2 \, {\left (4 \, {\left (2 \, {\left (8 \, {\left (2 \, {\left (12 \, {\left (2 \, c^{4} d^{2} x + 7 \, b c^{3} d^{2}\right )} x + \frac {109 \, b^{2} c^{9} d^{2} + 68 \, a c^{10} d^{2}}{c^{7}}\right )} x + \frac {5 \, {\left (25 \, b^{3} c^{8} d^{2} + 68 \, a b c^{9} d^{2}\right )}}{c^{7}}\right )} x + \frac {219 \, b^{4} c^{7} d^{2} + 2248 \, a b^{2} c^{8} d^{2} + 944 \, a^{2} c^{9} d^{2}}{c^{7}}\right )} x + \frac {b^{5} c^{6} d^{2} + 1304 \, a b^{3} c^{7} d^{2} + 2832 \, a^{2} b c^{8} d^{2}}{c^{7}}\right )} x - \frac {5 \, b^{6} c^{5} d^{2} - 68 \, a b^{4} c^{6} d^{2} - 4944 \, a^{2} b^{2} c^{7} d^{2} - 960 \, a^{3} c^{8} d^{2}}{c^{7}}\right )} x + \frac {15 \, b^{7} c^{4} d^{2} - 220 \, a b^{5} c^{5} d^{2} + 1168 \, a^{2} b^{3} c^{6} d^{2} + 960 \, a^{3} b c^{7} d^{2}}{c^{7}}\right )} + \frac {5 \, {\left (b^{8} d^{2} - 16 \, a b^{6} c d^{2} + 96 \, a^{2} b^{4} c^{2} d^{2} - 256 \, a^{3} b^{2} c^{3} d^{2} + 256 \, a^{4} c^{4} d^{2}\right )} \log \left ({\left | 2 \, {\left (\sqrt {c} x - \sqrt {c x^{2} + b x + a}\right )} \sqrt {c} + b \right |}\right )}{8192 \, c^{\frac {7}{2}}} \]
[In]
[Out]
Timed out. \[ \int (b d+2 c d x)^2 \left (a+b x+c x^2\right )^{5/2} \, dx=\int {\left (b\,d+2\,c\,d\,x\right )}^2\,{\left (c\,x^2+b\,x+a\right )}^{5/2} \,d x \]
[In]
[Out]